import React, { Component } from 'react'
import { Input } from 'antd'
import { SearchOutlined } from '@ant-design/icons';

export default class AntSelect extends Component {
    render() {
        const { title, placeholder, InputOnChange, value } = this.props
        return (
            <>
                <span>{title ? title : ''}</span>
                <Input placeholder={placeholder} suffix={<SearchOutlined />} value={value} onChange={InputOnChange} style={{
                    width: 200,
                }} />
            </>
        );
    }
}